package com.wang.tool.delivery.res;

import com.alibaba.fastjson.JSONObject;
import com.wang.tool.delivery.cache.resource.ResourceBaseInfo;
import com.wang.tool.delivery.cache.resource.ResourceMetaInfo;

import java.util.List;

/**
 * @Description
 * @Author shaopeng
 * @Date 2022/7/20
 * @Version 1.0
 */
public class ResourceView {

    /**
     * 排序
     */
    private int order;

    /**
     * 资源位id
     */
    private String resourceId;

    /**
     * 资源位code
     */
    private String resourceCode;


    /**
     * 资源位名称
     */
    private String resourceName;

    /**
     * 资源位基础信息
     */
    private ResourceBaseInfo baseInfo;

    /**
     * 开发者选项
     */
    private ResourceMetaInfo metaInfo;

    /**
     * 排期计划id
     */
    private List<String> planIds;

    /**
     * 实体
     */
    private List<Entity> entities;

    /**
     * 还有没有
     */
    private boolean hasMore ;

    /**
     * 扩展
     */
    private JSONObject ext;



    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getResourceCode() {
        return resourceCode;
    }

    public void setResourceCode(String resourceCode) {
        this.resourceCode = resourceCode;
    }

    public JSONObject getExt() {
        return ext;
    }

    public void setExt(JSONObject ext) {
        this.ext = ext;
    }


    public List<Entity> getEntities() {
        return entities;
    }

    public void setEntities(List<Entity> entities) {
        this.entities = entities;
    }

    public ResourceBaseInfo getBaseInfo() {
        return baseInfo;
    }

    public void setBaseInfo(ResourceBaseInfo baseInfo) {
        this.baseInfo = baseInfo;
    }

    public List<String> getPlanIds() {
        return planIds;
    }

    public void setPlanIds(List<String> planIds) {
        this.planIds = planIds;
    }

    public ResourceMetaInfo getMetaInfo() {
        return metaInfo;
    }

    public void setMetaInfo(ResourceMetaInfo metaInfo) {
        this.metaInfo = metaInfo;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public boolean isHasMore() {
        return hasMore;
    }

    public void setHasMore(boolean hasMore) {
        this.hasMore = hasMore;
    }
}
